package com.google.code.sysarch.v0.e34;

class bosThread_34 extends Thread {

	int timer;
	long startTime;
	
	bosThread_34(int timer) {
		this.timer = timer;
	}

	public void run() {
		this.startTime = System.currentTimeMillis();	
		while (true) {
			try {
				sleep(timer);
			} catch (InterruptedException e) { };
			System.out.println("------------------------");
			for (int i=0; i < v0_34.numThreads; i++) {
				System.out.println((System.currentTimeMillis()-startTime)+": "+v0_34.buffer[i]);
			}
			System.out.println("------------------------");
		}	
	}
}
